﻿using UnityEngine;
using System.Collections;

public class playerborder : MonoBehaviour {

	public int pojot = 0;


	void OnCollisionEnter (Collision col)
	{
		pojot++;
		ball Ball = col.gameObject.GetComponent<ball> ();
		if (Ball != null) {
					Ball.transform.position = new Vector3 (0f, 1f, 0f);
			}
	}
}
